package com.cx.controller;

import com.cx.pojo.Goods;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpSession;
import java.text.DateFormat;

@Controller
public class TestToJsp {


    @RequestMapping("seckil")
    public String seckil(){
        System.out.println("seckil.jsp");
        return "seckil";
    }

    @RequestMapping("header")
    public String header(){
        System.out.println("header.jsp");
        return "header";
    }


    @RequestMapping("search")
    public String search(){
        System.out.println("header.jsp");
        return "search";
    }


    @RequestMapping("place")
    public String place(){
        System.out.println("header.jsp");
        return "orderPlace";
    }

    @RequestMapping("index")
    public String index(){
        System.out.println("header.jsp");
        return "index";
    }

    @RequestMapping("footer")
    public String footer(){
        System.out.println("header.jsp");
        return "footer";
    }



    @RequestMapping("test")
    public void test1(HttpSession session){



    }


}
